package com.tedu.egmybatis1.mapper;

import org.apache.ibatis.annotations.*;
import com.tedu.egmybatis1.pojo.Product;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insert(Product product);

    int deleteById(Integer id);

    int updateById(Product product);

    Product selectById(Integer id);

    List<Product> selectList();
}
